package org.bite.lesson03;

public class Demo302 {
    /**
     * 查看JDK中Thread对象的所有状态
     */
    public static void main(String[] args) {
        //线程状态定义在一个枚举中
        for(Thread.State state: Thread.State.values()){
            System.out.println(state);
        }
    }
}
